package com.ogawa.meiditest.network

import com.ogawa.meiditest.bean.request.TokenBean
import com.ogawa.meiditest.bean.response.TokenResponse
import retrofit2.http.Body
import retrofit2.http.POST

interface ApiService {

//    @POST("/v1/open/oauth2/authorize")
//    suspend fun getToken(@Body bean: TokenBean): TokenResponse

    @POST("/media-api-app/authorize")
    suspend fun getToken(@Body bean: TokenBean): TokenResponse
}